import redis

class Config(object):
    DEBUG = True
    SECRET_KEY = "EjpNVSNQTyGi1VvWECj9TvC/+kq3oujee2kTfQUs8yCM6xX9Yjq52v54g+HVoknA"
    SQLALCHEMY_DATABASE_URI = "mysql://root:mysql@127.0.0.1:3306/information2"
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    redis_host = "127.0.0.1"
    redis_port = "6379"
    SESSION_TYPE = "redis"
    SESSION_USE_SIGNER = True
    SESSION_REDIS = redis.StrictRedis(host=redis_host, port=redis_port)
    PERMANENT_SESSION_LIFETIME = 86400 * 60